<?php
/**
 * @package Green Realty component
 * @copyright (C) 2012 Greenkey studio. All rights reserved
 * @license GNU/GPL Version 2 - http://www.gnu.org/licenses/gpl-2.0.html
 * @author Greenkey studio
 */

// No direct access to this file
defined('_JEXEC') or die('Restricted Access');
?>
<?php foreach($this->items as $i => $item): ?>
	<tr class="row<?php echo $i % 2; ?>">
		<td>
			<?php echo $item->id; ?>
		</td>
		<td>
			<?php echo JHtml::_('grid.id', $i, $item->id); ?>
		</td>
		<td>
<!--            <a href="index.php?option=com_grealty&view=grealty&layout=edit&task=grealty.edit&id=<?php echo $item->id; ?>">-->
<!--            Prefer this variant with js-->
            <a href="javascript:void(0);" onclick="return listItemTask('cb<?php echo $i;?>', 'grealty.edit')">
			<?php echo $item->grparam; ?>
            </a>
		</td>
	</tr>
<?php endforeach; ?>
